package com.ruoyi.sl.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 出工方式对象 sl_wm
 * 
 * @author admin
 * @date 2024-06-03
 */
public class SlWm extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long wmId;

    /** 出工方式 */
    @Excel(name = "出工方式")
    private String wmName;

    /** 计价 */
    @Excel(name = "计价")
    private BigDecimal wmPay;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Integer wmSort;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 所属模块 */
    @Excel(name = "所属模块")
    private Long moduleId;

    @Excel(name = "模块名称", targetAttr = "moduleName", type = Excel.Type.EXPORT)
    private SlModule module;

    /** 单位 */
    @Excel(name = "单位")
    private String wmUnit;

    public void setWmId(Long wmId) 
    {
        this.wmId = wmId;
    }

    public Long getWmId() 
    {
        return wmId;
    }
    public void setWmName(String wmName) 
    {
        this.wmName = wmName;
    }

    public String getWmName() 
    {
        return wmName;
    }
    public void setWmPay(BigDecimal wmPay) 
    {
        this.wmPay = wmPay;
    }

    public BigDecimal getWmPay() 
    {
        return wmPay;
    }
    public void setWmSort(Integer wmSort) 
    {
        this.wmSort = wmSort;
    }

    public Integer getWmSort() 
    {
        return wmSort;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public Long getModuleId() {
        return moduleId;
    }

    public void setModuleId(Long moduleId) {
        this.moduleId = moduleId;
    }

    public SlModule getModule() {
        return module;
    }

    public void setModule(SlModule module) {
        this.module = module;
    }

    public void setWmUnit(String wmUnit)
    {
        this.wmUnit = wmUnit;
    }

    public String getWmUnit()
    {
        return wmUnit;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("wmId", getWmId())
            .append("wmName", getWmName())
            .append("wmPay", getWmPay())
            .append("wmSort", getWmSort())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
                .append("module", getModule())
                .append("moduleId", getModuleId())
                .append("wmUnit", getWmUnit())
            .toString();
    }
}
